package monitor.model.entity;

/**
 * Represent data of created car
 */
public class Car extends GeneralEntity {

	private static final long serialVersionUID = 2125614668391161968L;
	
	public static final String ATTR_ID = "id";
	public static final String ATTR_BRAND = "brand";
	public static final String ATTR_MODEL = "model";
	public static final String ATTR_DESCRIPTION = "description";
	
	public String getId() {
		return (String)getAttributes().get(ATTR_ID);
	}

	public void setId(String id) {
		getAttributes().put(ATTR_ID, id);
	}

	public String getBrand() {
		return (String)getAttributes().get(ATTR_BRAND);
	}

	public void setBrand(String brand) {
		getAttributes().put(ATTR_BRAND, brand);
	}

	public String getModel() {
		return (String)getAttributes().get(ATTR_MODEL);
	}

	public void setModel(String model) {
		getAttributes().put(ATTR_MODEL, model);
	}

	public String getDescription() {
		return (String)getAttributes().get(ATTR_DESCRIPTION);
	}

	public void setDescription(String description) {
		getAttributes().put(ATTR_DESCRIPTION, description);
	}

}
